#ifndef DOOR_H
#define DOOR_H

#include "mapsite.h"

class Room;

class Door : public MapSite
{
public:
    Door(Room* = 0, Room* = 0);

    void enter();

    Room* otherSideFrom(Room*);

private:
    Room *_room1;
    Room *_room2;
    bool _isOpen;
};

#endif // DOOR_H
